﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}formui.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}admin-all.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}base.css"/>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-1.7.2.js"></script>
    <script type="text/javascript" src="{$Think.const.HOME_JS_URL}jquery-ui-1.8.22.custom.min.js"></script>
    <link rel="stylesheet" type="text/css" href="{$Think.const.HOME_CSS_URL}ui-lightness/jquery-ui-1.8.22.custom.css" />
    
    <style type="text/css">
        .auto-style1 {
            height: 26px;
        }
    </style>
</head>
<body>
   <div class="alert alert-info">当前位置<b class="tip"></b>客户信息管理<b class="tip"></b>订单详情</div>
       &nbsp;<a class="btn" id="Button3" href="{:U('Client/lst',array('id'=>$id,'p'=>$p))}">返回客户信息列表</a>
        &nbsp;<a class="btn" id="Button3" href="{:U('Client/edit',array('id'=>$id,'p'=>$p))}">编辑客户信息</a>
        &nbsp;<a class="btn" id="Button3" href="{:U('ClientContact/lst',array('id'=>$id,'p'=>$p))}">联系人列表</a>
        &nbsp;<a class="btn" id="Button3" href="{:U('ClientAccount/lst',array('id'=>$id,'p'=>$p))}">交往记录</a>
        &nbsp;<a class="btn" id="Button3" href="{:U('Order/lst',array('id'=>$id,'p'=>$p))}">订单记录</a>
    <br/>
        <br/>
        <table class="tb" id="top">
            <thead>
                <tr>
                    <th>客户编号</th>
                    <th>{$gid}</th>
                    <th>客户名称</th>
                    <th>{$name}</th>
                </tr>
            </thead>
        </table><br/>
    <table class="tb" id="top">
        <thead>
            <tr >
                <th >订单编号</th>
                <th >日期</th>
                <th >送货地址</th>
                <th >金额</th>
                <th >状态</th>
            </tr>
        </thead>
		<tr class="tron">
				<td>{$data['id']}</td>
				<td>{$data['atime']|date="Y-m-d H:i",###}</td>
				<td>{$data['address']}</td>
				<td>{$data['money']}</td>
				<td>{$data['status']}</td>
		        
	        </tr>
    </table>
        <table class="tb" id="top">
        <thead>
            <tr >
                <th >商品</th>
                <th >属性</th>
                <th >数量</th>
                <th >单位</th>
                <th >单价</th>
                <th >金额</th>
            </tr>
        </thead>
            <volist name="gdata" id="v">
		<tr class="tron">
				<td>{$v['name']}</td>
				<td>{$v['attr']}</td>
				<td>{$v['number']}</td>
				<td>{$v['unit']}</td>
				<td>{$v['money']}</td>
				<td>{$v['sum_money']}</td>
	        </tr>
            </volist>
		<if condition="preg_match('/\d/', $page)">  
        <tr><td align="right" nowrap="true" colspan="99" height="30">{$page}</td></tr> 
                </if>

    </table>
</body>
</html>
